package com.witmore.neutron.ai.web.apiv2.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 员工角色表
 * </p>
 *
 * @author 豆子高
 * @since 2025-03-23
 */
@Getter
@Setter
@Schema(name = "RoleResult", description = "角色表")
public class RoleUserResult implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    private Long id;

    /**
     * 服务商ID
     */
    @Schema(description = "服务商ID")
    private Long providerId;

    @Schema(description = "角色ID")
    private Long roleId;

    @Schema(description = "角色名称")
    private String roleName;

    @Schema(description = "角色类型 0:超级管理员 1:服务商管理员 2:普通用户")
    private Integer roleType;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "创建者账号")
    private String creator;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "最后更新时间")
    private LocalDateTime updateTime;

}
